{% for menu in menu_dict.values %}
    <li class="{{ menu.class }}">
        <a href="{{ menu.url }}">
            <i class="fa {{ menu.icon }}"></i>
            <span class="nav-label">{{ menu.title }}</span>
            {% if  menu.children %}
                <span class="fa arrow"></span>
            {% endif %}
        </a>
        {% if  menu.children %}
            <ul class="nav nav-second-level collapse">

                {% for per in menu.children %}
                    <li class="{{ per.class }}"><a href="{{ per.url }}">{{ per.title }}</a></li>

                {% endfor %}

            </ul>

        {% endif %}

    </li>
{% endfor %}
